import { getlink } from "../../../api/getlink"
export const peson = {
    state: {
        text: [

        ]
    },
    mutations: {
        settext(state, payload) {
            state.text = payload
        }
    },
    actions: {
        dat(context) {
            getlink("/proxy/user").then((ok) => {
                console.log(ok.data.data);
                context.commit("settext", ok.data.data)
            })
        }
    }
};

